import request from '@/utils/request'

const api_name = '/product/skuinfo/'

export default {

  getDataList(params) {
    return request({
      url: `${api_name}/page`,
      method:'get',
      params: params
    })
  },
  
  createSkuinfo(data) {
    return request({
      url: `${api_name}/create`,
      method: 'post',
      data: data
    })
  },

  getSkuInfo(params) {
    return request({
        url: `${api_name}/info`,
        method:'get',
        params:params
    })
  },
}